package tt.dz.appserver.entity.vo.station;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import org.springframework.util.StringUtils;

import tt.dz.appserver.util.Constants;

/**
 * 电站详细信息View
 * @author Administrator
 *
 */
public class StationDetailVo implements Serializable {

	private static final long serialVersionUID = 1L;

	private String stationId;//站点ID
	private String stationName;//名称
	private String provinceId;// 省份ID
	private String operMerchantId;//充电运营服务商ID
	private String operName;//运营商名称
	private String districtCode;//区县代码
	private String districtName;//区县名称
	private String parkingType;//停车处：1，停车楼 2，室外 3，地下室
	private String totalCharger;//总电桩数量
	private String stationType;//站点类型 1直流2交流3混合
	private String booking;
	private String address;//详细地址
	private String currentState;//状态 1运营总 2安装中 3规划中
	private String directNum;//直流数量
	private String alternateNum;//交流数量
	private String telNo;//自营电话
	private String reviewState;//审核状态 0待审核1，审核中2，通过3，不通过
	private String reviewText;// 审核描述，说明
	private String workOpenTime="00:00~24:00";
	private String holidayOpenTime="00:00~24:00";
	private String chargePriceDescription="1.20元/度";
	private String servicePriceDescription="0.80元/度";
	private String parkingDescription="根据现场实际情况而定";
	private String latitude;
	private String longitude;
	private String establishTime;
	private String parkingAddr;
	private String describes;
	private String circle;
	private String freeDirectNum;
	private String freeAlternateNum;
	private String collectionFlag;
	private String grade;//星级
	private String coordinate_y;//纬度
	private String coordinate_x;//经度
	private String distance;
	private String score;//星级
	private String chargePortType;
	
	
	
	//站点图片
	List<String> stationImages  = new ArrayList<>();

	
	public String getWorkOpenTime() {
		return workOpenTime;
	}

	public void setWorkOpenTime(String workOpenTime) {
		this.workOpenTime = workOpenTime;
	}

	public String getHolidayOpenTime() {
		return holidayOpenTime;
	}

	public void setHolidayOpenTime(String holidayOpenTime) {
		this.holidayOpenTime = holidayOpenTime;
	}

	public String getServicePriceDescription() {
		return servicePriceDescription;
	}

	public void setServicePriceDescription(String servicePriceDescription) {
		this.servicePriceDescription = servicePriceDescription;
	}

	public String getChargePriceDescription() {
		return chargePriceDescription;
	}

	public void setChargePriceDescription(String chargePriceDescription) {
		this.chargePriceDescription = chargePriceDescription;
	}

	public String getParkingDescription() {
		return parkingDescription;
	}

	public void setParkingDescription(String parkingDescription) {
		this.parkingDescription = parkingDescription;
	}

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public String getFreeDirectNum() {
		return freeDirectNum;
	}

	public void setFreeDirectNum(String freeDirectNum) {
		this.freeDirectNum = freeDirectNum;
	}

	public String getFreeAlternateNum() {
		return freeAlternateNum;
	}

	public void setFreeAlternateNum(String freeAlternateNum) {
		this.freeAlternateNum = freeAlternateNum;
	}

	public String getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(String provinceId) {
		this.provinceId = provinceId;
	}

	public String getStationId() {
		return stationId;
	}

	public void setStationId(String stationId) {
		this.stationId = stationId;
	}

	public String getStationName() {
		return stationName;
	}

	public void setStationName(String stationName) {
		this.stationName = stationName;
	}

	public String getOperMerchantId() {
		return operMerchantId;
	}

	public void setOperMerchantId(String operMerchantId) {
		this.operMerchantId = operMerchantId;
	}

	public String getDistrictCode() {
		return districtCode;
	}

	public void setDistrictCode(String districtCode) {
		this.districtCode = districtCode;
	}

	public String getDistrictName() {
		return districtName;
	}

	public void setDistrictName(String districtName) {
		this.districtName = districtName;
	}

	public String getParkingType() {
		return parkingType;
	}

	public void setParkingType(String parkingType) {
		this.parkingType = parkingType;
	}

	public String getTotalCharger() {
		return totalCharger;
	}

	public void setTotalCharger(String totalCharger) {
		this.totalCharger = totalCharger;
	}

	public String getStationType() {
		return stationType;
	}

	public void setStationType(String stationType) {
		this.stationType = stationType;
	}

	public String getBooking() {
		return booking;
	}

	public void setBooking(String booking) {
		this.booking = booking;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCurrentState() {
		return currentState;
	}

	public void setCurrentState(String currentState) {
		this.currentState = currentState;
	}

	public String getDirectNum() {
		return directNum;
	}

	public void setDirectNum(String directNum) {
		this.directNum = directNum;
	}

	public String getAlternateNum() {
		return alternateNum;
	}

	public void setAlternateNum(String alternateNum) {
		this.alternateNum = alternateNum;
	}

	public String getTelNo() {
		return telNo;
	}

	public void setTelNo(String telNo) {
		this.telNo = telNo;
	}

	public String getReviewState() {
		return reviewState;
	}

	public void setReviewState(String reviewState) {
		this.reviewState = reviewState;
	}

	public String getReviewText() {
		return reviewText;
	}

	public void setReviewText(String reviewText) {
		this.reviewText = reviewText;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getCollectionFlag() {
		return collectionFlag;
	}

	public void setCollectionFlag(String collectionFlag) {
		this.collectionFlag = collectionFlag;
	}

	public String getEstablishTime() {
		return establishTime;
	}

	public void setEstablishTime(String establishTime) {
		this.establishTime = establishTime;
	}

	public String getParkingAddr() {
		return parkingAddr;
	}

	public void setParkingAddr(String parkingAddr) {
		this.parkingAddr = parkingAddr;
	}

	public String getDescribes() {
		return describes;
	}

	public void setDescribes(String describes) {
		this.describes = describes;
	}

	public String getCircle() {
		return circle;
	}

	public void setCircle(String circle) {
		this.circle = circle;
	}

	public List<String> getStationImages() {
		return stationImages;
	}
	
	public String getOperName() {
		return operName;
	}

	public void setOperName(String operName) {
		this.operName = operName;
	}

	
	public String getCoordinate_y() {
		return coordinate_y;
	}

	public void setCoordinate_y(String coordinate_y) {
		this.coordinate_y = coordinate_y;
	}

	public String getCoordinate_x() {
		return coordinate_x;
	}

	public void setCoordinate_x(String coordinate_x) {
		this.coordinate_x = coordinate_x;
	}
	
	public String getDistance() {
		return distance;
	}

	public void setDistance(String distance) {
		this.distance = distance;
	}

	
	public String getScore() {
		return score;
	}

	public void setScore(String score) {
		this.score = score;
	}

	
	public String getChargePortType() {
		return chargePortType;
	}

	public void setChargePortType(String chargePortType) {
		this.chargePortType = chargePortType;
	}

	public void setStationImages(String stationImages) {
		
		if(!StringUtils.isEmpty(stationImages)){
			String[] images = stationImages.split(",");
			if(images!=null && images.length>0){
				for (String img : images) {
					this.stationImages.add(Constants.qiniuBaseUrl+img);
				}
			}
		}
	}
}
